<h1>Listing msg_categories</h1>

<table>
  <tr>
    <th>Project</th>
    <th>Name</th>
  </tr>
  
<% for msg_category in @msg_categories %>
  <tr>
    <td><%=h msg_category.project_id %></td>
    <td><%=h msg_category.name %></td>
    <td><%= link_to 'Show', msg_category_path(msg_category) %></td>
    <td><%= link_to 'Edit', edit_msg_category_path(msg_category) %></td>
    <td><%= link_to 'Destroy', msg_category_path(msg_category), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New msg_category', new_msg_category_path %>